package com.uit.httt04.duongvanlam.facedetection.classes;

public class RankAlgorithm extends Object
{
	private int id;
	private int rank; // Rank start with 1,2,3,4,5,6 ...
	private String imageName;

	public RankAlgorithm(int Rank, String ImageName, int ObjectID)
	{
		this.setRank(Rank);
		this.setImageName(ImageName);
		this.setID(ObjectID);
	}

	public int getRank()
	{
		return this.rank;
	}

	private void setRank(int rank)
	{
		this.rank = rank;
	}

	public String getImageName()
	{
		return this.imageName;
	}

	private void setImageName(String imageName)
	{
		this.imageName = imageName;
	}

	public int getID()
	{
		return this.id;
	}

	private void setID(int objectID)
	{
		this.id = objectID;
	}
	@Override
	protected void finalize() throws Throwable
	{
		this.imageName = null;
		super.finalize();
	}

}
